package com.temp.check.base;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Arrays;
import java.util.List;

@Data
@Accessors(chain = true)
public class DBCond {
    private String dbLike;
    private String tableLike;
    private String columnLike;
    private List<String> columnLikeList;

    public DBCond setColumnLikes(String ...columnLikes) {
        if(columnLikes!=null){
            this.columnLikeList = Arrays.asList(columnLikes);
        }
        return this;
    }
}
